﻿using Microsoft.AspNetCore.Mvc;
using System;
using WalkingTec.Mvvm.Mvc;

namespace LayuiDemo.Controllers
{
	public class DemoController : BaseController
	{
		public IActionResult DialogConfig(int width, int height, bool ispercent, bool isresponsive, string title)
		{
			ViewBag.width = width;
			ViewBag.height = height;
			ViewBag.ispercent = ispercent;
			ViewBag.isresponsive = isresponsive;
			if (title != null)
			{
				ViewBag.Title = $"不想太单调，加点什么呢{DateTime.Now.ToString()}";
			}

			return PartialView();
		}

	}

}
